]> dgit.raspbian.org Git - gnome-shell.git/commit
notifications: Introduce MessageList.Source object
authorJulian Sparber <julian@sparber.net>
Fri, 26 Jan 2024 10:05:46 +0000 (11:05 +0100)
committerMarge Bot <marge-bot@gnome.org>
Tue, 30 Jan 2024 17:05:23 +0000 (17:05 +0000)
commitff765849379daa09aa42ee3c29dc94e48484465d
tree54ee97eac092ca3306c3f100b7f7ec0aaaab821f
parent932ccac1c2799bd860348432bebef1a72964602e
notifications: Introduce MessageList.Source object

This object contains only the `title` and `icon` of a
`MessageTray.Source` which allows using it for sources
that aren't notification sources like mpris.

The old `MessageTray.Source` isn't renamed to something
less generic to not break API. Once we have a good reason
we should rename it to something more specific.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3103>
js/ui/messageList.js
js/ui/messageTray.js